package com.jihu.design.behavioral.command;

/**
 * @author jihu
 * @date 2021/10/11
 */
public class MainTest {

    public static void main(String[] args) {
        TeacherTongInvoker invoker = new TeacherTongInvoker();
        invoker.setCommand(new WuHanTravelCommand());
        invoker.call();

        invoker.setCommand(new OnlineCommand());
        invoker.call();
    }
}
